<?php

namespace App\Http\Model;

use Illuminate\Database\Eloquent\Model;

class Type extends Model
{
    //
    protected $table = 'type';
    protected $primaryKey = 'tid';
    public $timestamps = false;
    protected $guarded = [];
    
    public function type_cate(){
        return $this->hasMany('App\Http\Model\Category','type_tid','tid');
    }
}
